package HLLibClasses;

import HLCode.HLClassManager;
import HLCode.HLLibClass;
import HLCode.HLObject;
import HLLib.base.HLString;
import HLLib.userControl.HLTextField;

public class HLClassTextField extends HLLibClass {
    public HLClassTextField(HLClassManager owner) {
        super(owner);
    }

    public HLObject NewObject() {
        return new HLTextField();
    }

    public void StaticExecute(int index, HLObject args, HLObject resultOwnerObject, int resultIndex) {
        switch (index) {
        case 0: {
            HLTextField.ShowTextField(args.GetInt(0), args.GetBoolean(0), (HLString)args.GetObject(0));
            break;
        }
        case 1: {
            HLTextField.ShowTextFieldEX(args.GetInt(0), args.GetBoolean(0), (HLString)args.GetObject(0), args.GetInt(1));
            break;
        }
        }
    }
}
